//*****************************************************************************
// strcpy.c : string function
// 2002/02/04 by Gaku : this is rough sketch
//*****************************************************************************

#include <stddef.h>

//=============================================================================
// copy S to D
//=============================================================================
char* GO_strcpy (char *d, char *s)
{
	char *tmp = d;

#if 0
	while ('\0' != *s)
		*d++ = *s++;

	*d = '\0';
#endif
	while (*d++ = *s++);

	return tmp;
}
